home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Full / Paragon Drive Backup 9 / DB90_SE_x64.msi / Data1.cab / _E69F751F4D134BFA810B52863EEA8AB8 < prev    next >
Extensible Markup Language  |  2008-06-28  |  8KB  |  210 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <xsl:stylesheet
  4.   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  5.   xmlns:msxsl="urn:schemas-microsoft-com:xslt"
  6.   version="1.0">
  7.  
  8. <xsl:output
  9.   method="html"
  10.   version="4.0"
  11.   encoding="UTF-8"
  12.   omit-xml-declaration="yes"
  13.   indent="yes"/>
  14.  
  15. <xsl:template match="/Root">
  16.  
  17. <html>
  18.   <xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>
  19.  
  20.   <TABLE>
  21.     <TR>
  22.       <TD align="left" colspan="2">
  23.  
  24.         <xsl:choose>
  25.           <xsl:when test="$FSName='FREE'">
  26.             <h2>QT_TRANSLATE_NOOP("QObject", "Free Space")</h2>
  27.           </xsl:when>
  28.           <xsl:when test="$FSName='EXTENDED'">
  29.             <h2>QT_TRANSLATE_NOOP("QObject", "Extended partition")</h2>
  30.           </xsl:when>
  31.           <xsl:when test="$FSName='INVALID'">
  32.             <h2>QT_TRANSLATE_NOOP("QObject", "Invalid partition")</h2>
  33.           </xsl:when>
  34.           <xsl:when test="$FSName='BACKUPCAPSULE'">
  35.             <h2>QT_TRANSLATE_NOOP("QObject", "Paragon backup capsule")</h2>
  36.           </xsl:when>
  37.           <xsl:when test="$FSName='NOTFORMATTED'">
  38.             <h2>QT_TRANSLATE_NOOP("QObject", "Not formatted partition")</h2>
  39.           </xsl:when>
  40.           <xsl:otherwise>
  41.             <h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
  42.           </xsl:otherwise>
  43.         </xsl:choose>
  44.  
  45.         <img src="hline_gray"/>
  46.       </TD>
  47.     </TR>
  48.     <TR>
  49.       <TD align="right">
  50.         <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_HDDDISKNO']"/></b></nobr>
  51.       </TD>
  52.       <TD align="left">
  53.         <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HDDDISKNO']"/></nobr>
  54.       </TD>
  55.     </TR>
  56.     <TR>
  57.       <TD align="right">
  58.         <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_PARTLINUXNO']"/></b></nobr>
  59.       </TD>
  60.       <TD align="left">
  61.         <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_PARTLINUXNO']"/></nobr>
  62.       </TD>
  63.     </TR>
  64.  
  65.     <xsl:if test="$FSName != 'UNKNOWN' and $FSName != 'INVALID' and $FSName != 'NOTFORMATTED' and $FSName != 'FREE'">
  66.  
  67.       <TR>
  68.         <TD colspan="2">
  69.           <img src="hline_gray"/>
  70.         </TD>
  71.       </TR>
  72.  
  73.       <xsl:if test="$FSName != 'EXTENDED' and $FSName != 'BACKUPCAPSULE'">
  74.         <TR>
  75.           <TD align="right">
  76.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_VOLUMELABEL']"/></b></nobr>
  77.           </TD>
  78.           <TD align="left">
  79.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_VOLUMELABEL']"/></nobr>
  80.           </TD>
  81.         </TR>
  82.       </xsl:if>
  83.  
  84.       <TR>
  85.         <TD align="right">
  86.           <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_PARTITIONIDSTRING']"/></b></nobr>
  87.         </TD>
  88.         <TD align="left">
  89.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_PARTITIONIDSTRING']"/></nobr>
  90.         </TD>
  91.       </TR>
  92.  
  93.       <xsl:if test="$FSName != 'EXTENDED'">
  94.         <TR>
  95.           <TD align="right">
  96.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_SERIALNUMBER']"/></b></nobr>
  97.           </TD>
  98.           <TD align="left">
  99.               <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SERIALNUMBER']"/></nobr>
  100.           </TD>
  101.         </TR>
  102.       </xsl:if>
  103.  
  104.       <xsl:if test="$FSName != 'EXTENDED' and $FSName != 'BACKUPCAPSULE'">
  105.         <TR>
  106.           <TD align="right">
  107.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
  108.           </TD>
  109.           <TD align="left">
  110.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
  111.           </TD>
  112.         </TR>
  113.         <TR>
  114.           <TD align="right">
  115.             <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
  116.           </TD>
  117.           <TD align="left">
  118.             <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
  119.           </TD>
  120.         </TR>
  121.       </xsl:if>
  122.     </xsl:if>
  123.  
  124.     <TR>
  125.       <TD colspan="2">
  126.         <img src="hline_gray"/>
  127.       </TD>
  128.     </TR>
  129.  
  130.     <tr>
  131.       <td colspan="2">
  132.         <table cellspacing="0" cellpadding="0">
  133.            <TR>
  134.             <TD width="50%"></TD>
  135.             <TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Sector No:")</b></TD>
  136.             <TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Cyl:")</b></TD>
  137.             <TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Hd:")</b></TD>
  138.             <TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Sec:")</b></TD>
  139.            </TR>
  140.            <TR>
  141.              <TD align="right" width="50%">
  142.                <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_STARTINSECTORS_STRING']"/></b></nobr>
  143.              </TD>
  144.              <TD align="right">
  145.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_STARTINSECTORS_STRING']"/></nobr>
  146.              </TD>
  147.              <TD align="right">
  148.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_CYL']"/></nobr>
  149.              </TD>
  150.              <TD align="right">
  151.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_HEAD']"/></nobr>
  152.              </TD>
  153.              <TD align="right">
  154.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_SEC']"/></nobr>
  155.              </TD>
  156.            </TR>
  157.  
  158.            <TR>
  159.              <TD align="right" width="50%">
  160.                 <nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_ENDINSECTORS_STRING']"/></b></nobr>
  161.               </TD>
  162.              <TD align="right">
  163.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ENDINSECTORS_STRING']"/></nobr>
  164.              </TD>
  165.              <TD align="right">
  166.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_CYL']"/></nobr>
  167.              </TD>
  168.              <TD align="right">
  169.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_HEAD']"/></nobr>
  170.              </TD>
  171.              <TD align="right">
  172.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_SEC']"/></nobr>
  173.              </TD>
  174.            </TR>
  175.  
  176.            <TR>
  177.             <td>
  178.             </td>
  179.            </TR>
  180.  
  181.            <TR>
  182.              <TD align="right" width="50%">
  183.                 <nobr><b>QT_TRANSLATE_NOOP("QObject", "Hard disk geometry:")</b></nobr>
  184.               </TD>
  185.              <TD align="right">
  186.              </TD>
  187.              <TD align="right">
  188.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CYLINDERS']"/></nobr>
  189.              </TD>
  190.              <TD align="right">
  191.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HEADS']"/></nobr>
  192.              </TD>
  193.              <TD align="right">
  194.                <nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SECTORSPERTRACK']"/></nobr>
  195.              </TD>
  196.            </TR>
  197.  
  198.         </table>
  199.       </td>
  200.     </tr>
  201.  
  202.   </TABLE>
  203.  
  204. </html>
  205. </xsl:template>
  206.  
  207. </xsl:stylesheet>
  208.  
  209.  
  210.